class UrlMappings {

    static mappings = 
    {
        "/$controller/$action?/$id?"
        {
            constraints 
            {
                // apply constraints here
            }
        }

        //		"/"(controller: 'HomeController', action: 'index')
        "/" {
            controller = "Home"
            
        }
		"500"(view:'/error')
    }
}
